// 导入相关组件
import { createStore } from "redux";
// 引入reducer
import admin from "./reducers/admin"
import { combineReducers } from "redux-immutable"

// 创建仓库
const store = createStore(combineReducers({ admin }), window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__())

// 导出仓库
export default store
